<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>系统公告</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
		<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="sysAppNoticeController.do?doUpdate" tiptype="6">
					<input id="id" name="id" type="hidden" value="${sysAppNoticePage.id }"/>
		<table style="width: 99%;" cellpadding="0" cellspacing="1" class="formtable">
					<tr>
						<td align="right">
							<label class="Validform_label">
								公告标题:
							</label>
						</td>
						<td class="value">
						    <input id="subject" name="subject" type="text" maxlength="100" style="width: 150px"  ignore="ignore"  value='${sysAppNoticePage.subject}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">公告标题</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								公告时间:
							</label>
						</td>
						<td class="value">
									  <input id="postdate" name="postdate" type="text" style="width: 150px"  class="Wdate" onClick="WdatePicker()"  datatype="*"  ignore="checked" value='<fmt:formatDate value='${sysAppNoticePage.postdate}' type="date" pattern="yyyy-MM-dd"/>'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">公告时间</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								系统:
							</label>
						</td>
						<td class="value">
									<t:dictSelect field="appid" type="list"  datatype="*"  dictTable="SYS_APP" dictField="appid" dictText="appname"   defaultVal="${sysAppNoticePage.appid}" hasLabel="false"  title="系统" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">系统</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								排序:
							</label>
						</td>
						<td class="value">
						    <input id="orderid" name="orderid" type="text" maxlength="19" style="width: 150px"  datatype="n"  ignore="ignore"  value='${sysAppNoticePage.orderid}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">排序</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								背景图片:
							</label>
						</td>
						<td class="value">
						    <input id="image" name="image" type="text" maxlength="100" style="width: 150px"  ignore="ignore"  value='${sysAppNoticePage.image}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">背景图片</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								是否有效:
							</label>
						</td>
						<td class="value">
									<t:dictSelect field="isvalid" type="list"  datatype="*"  typeGroupCode="ISN"   defaultVal="${sysAppNoticePage.isvalid}" hasLabel="false"  title="是否有效" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">是否有效</label>
						</td>
					</tr>
				
					<tr>
						<td align="right">
							<label class="Validform_label">
								公告内容:
							</label>
						</td>
						<td class="value" >
						  	 	<textarea id="content" style="height:auto;width:95%;" rows="6" name="content"  ignore="ignore" >${sysAppNoticePage.content}</textarea>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">公告内容</label>
						</td>
					</tr>
			</table>
		</t:formvalid>
 </body>
